package server;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class VectorCell {
	
	private String timestamp;
	private int id;
	private String service;
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	public String getTimestamp() {
		return timestamp;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getId() {
		return id;
	}
	public void setService(String service) {
		this.service = service;
	}
	public String getService() {
		return service;
	}
	public VectorCell(int id, String service)
	{
		DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
		this.timestamp = dateFormat.format(new Date());
		this.id=id;
		this.service=service;
	}

}
